package www.woniuxy.com.class112.entity;

import java.util.Date;

public class Notice {
    private Long id;

    private String title;

    private Long unitId;

    private Long typeId;

    private Long targetId;

    private Long sourceId;

    private Long createrId;

    private Date createdTime;

    private Long stateId;

    private Long pageView;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Long getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Long createrId) {
        this.createrId = createrId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getStateId() {
        return stateId;
    }

    public void setStateId(Long stateId) {
        this.stateId = stateId;
    }

    public Long getPageView() {
        return pageView;
    }

    public void setPageView(Long pageView) {
        this.pageView = pageView;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", unitId=").append(unitId);
        sb.append(", typeId=").append(typeId);
        sb.append(", targetId=").append(targetId);
        sb.append(", sourceId=").append(sourceId);
        sb.append(", createrId=").append(createrId);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", stateId=").append(stateId);
        sb.append(", pageView=").append(pageView);
        sb.append("]");
        return sb.toString();
    }
}